Public Class BODetailTab
    Inherits System.Web.UI.UserControl

#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub

    'NOTE: The following placeholder declaration is required by the Web Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub

#End Region


    Protected ReadOnly Property IsAddNew() As Boolean
        Get
            If RequestContext.BulkOrderID <= 0 Then
                Return True
            Else
                Return False
            End If
        End Get
    End Property
    
    Protected Function GetGeneralUrl() As String
        Return "BODetail.aspx" + Utilities.ReplaceUrlParameter(Request.Url.Query.ToLower(), "tabid", "0")
    End Function

    Protected Function GetDOListUrl() As String
        Return "DOList.aspx" + Utilities.ReplaceUrlParameter(Request.Url.Query.ToLower(), "tabid", "1")
    End Function

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Put user code to initialize the page here
    End Sub

End Class
